package com.czxy.enterprise.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.czxy.domain.TbRecruitmentInfo;
import com.czxy.vo.CityVO;
import com.czxy.vo.InfoVo;
import com.czxy.vo.RecruitmentInfoVo;
import org.apache.catalina.User;

import java.util.List;

/**
 * <p>
 * 招聘信息表 服务类
 * </p>
 *
 * @author xuewen
 * @since 2022-01-25
 */
public interface RecruitmentInfoService extends IService<TbRecruitmentInfo> {

    Page<TbRecruitmentInfo> condition(Integer current, Integer size, RecruitmentInfoVo recruitmentInfoVo);

    TbRecruitmentInfo findById(String id);
    Page<TbRecruitmentInfo> condition(InfoVo infoVo);

    List<TbRecruitmentInfo> findByUserId(Integer userId);

    List<CityVO> findNumByCity();
    List<TbRecruitmentInfo> notInIds(List<Integer> ids,Integer total);
    List<TbRecruitmentInfo> recommend(Integer candidateId);
}
